﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace QunYing.BLL
{
    public partial class DeviceInfo
    {
        /// <summary>
        /// 查询用户所拥有水族箱设备
        /// </summary>
        /// <param name="strUserName"></param>
        /// <returns></returns>
        public DataTable QueryDevice(string strUserName)
        {
            return dal.QueryDevice(strUserName);
        }

        /// <summary>
        /// 查询水族箱设备信息
        /// </summary>
        /// <param name="strUserName"></param>
        /// <returns></returns>
        public DataTable QueryDeviceInfo(string strIcsa)
        {
            return dal.QueryDeviceInfo(strIcsa);
        }
        /// <summary>
        /// 更新设备信息
        /// </summary>
        public bool UpdateDevice(QunYing.Model.DeviceInfo model)
        {
            return dal.UpdateDevice(model);
        }
    }
}
